﻿package Part_2_work;

import java.util.Scanner;

public class F_length {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String userName,pwd;
		System.out.print("请输入用户名：");
		userName = sc.next();
		System.out.print("请输入密码：");
		pwd = sc.next();
		if(pwd.length() >= 6){
			System.out.println("注册成功！");
		}else{
			System.out.println("密码长度不能小于6位数！");
		}
	}
}
